<?php
include_once('class/autoload.php');

class page_securiser extends page_base {
	//parent::__affiche();
	public function __construct($p){
		parent::__construct($p);
	}

	public function affiche(){
		if(isset($_SESSION ['login']) && (!empty($_SESSION ['login'])))
		{
			parent::affiche();
		}
		else {
			header('location: index.php');
		}
	}
}

?>